<div class="row">
    <div class="col-xs-12">
        <div class="panel panel-midnightblue">
            <div class="panel-body">
                <form action="" class="form-horizontal row-border"  data-validate="parsley" id="validate-form">
                	<div class="row">
                		 <div class="form-group">
                    		<label class="col-sm-3 control-label" >绑定卡号:</label>
                    		<div class="col-sm-5">
                    			<input type="text"  data-minlength="5"   name="card_no" value="{$model.card_no}" class="form-control" id="card_no"/>
                    		</div>
                    		<div class="col-sm-1">
                    			 <div class="btn-primary btn" id="form-submit">提交</div>
                    		</div>
                    		<div class="col-sm-1">
                    			 <div class="btn-default btn" data-dismiss="modal">关闭</div>
                    		</div>
                   		 </div>
                	</div>
                	<div class="form-group">
	                    		<label class="col-sm-3 control-label" >入场验证:</label>
	                    		<div class="col-sm-5">
	                    			<select class="form-control" name="in_varifycation" id="in_varifycation" >
	                    				<option value="0" {eq name="model.in_varifycation" value="0" }selected{/eq}  >不验证</option>
	                    				<option value="1" {eq name="model.in_varifycation" value="1" }selected{/eq}  >需验证</option>
	                    			</select>
	                    		</div>
	                </div>
                	
                	<div class="form-group" id="in_varifycation_type_div">
	                    		<label class="col-sm-3 control-label" >验证类型:</label>
	                    		<div class="col-sm-5">
	                    			<select class="form-control" name="in_varifycation_type" id="in_varifycation_type">
	                    				<option value="1" {eq name="model.in_varifycation_type" value="1" }selected{/eq}  >指纹验证</option>
	                    				<option value="2" {eq name="model.in_varifycation_type" value="2" }selected{/eq}  >人脸验证</option>
	                    				<option value="3" {eq name="model.in_varifycation_type" value="3" }selected{/eq}  >前台验证</option>
	                    			</select>
	                    		</div>
	                    		<div class="col-sm-3"  id="camare_div">
                    			  <div class="col-sm-5">
		                			 <div class="btn-danger btn btn_face_camare" data-step="1">采集人脸</div>
		                		  </div>
		                		  <div class="col-sm-2">
		                		  	
		                		  </div>
		                		  <div class="col-sm-5">
		                			 <div class="btn-primary btn btn_face_camare" data-step="2">结束采集</div>
		                		  </div>
                    		    </div>
	                </div>
                	
                	 
                    <div class="form-group" id="finger_div">
	                    	<div class="col-sm-7 col-sm-offset-3"  id="is_bind_finger" data-key="{$is_bind_finger}" >
	                    			<div class="alert alert-dismissable alert-danger" >
	                    				<strong>1.您已经绑定了指纹，再次录入指纹 提交后 将会覆盖之前的指纹</strong>
	                    				<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
	                    			</div>
	                    	</div>
                    		<div class="col-sm-4 col-sm-offset-2">
                    			<div  class="col-sm-8 col-sm-offset-3" style="height: 150px;background-color:oldlace">
                    				<img id="finger_image1" style="height: 150px;width: 100%;" src="/data/finger/a8.jpg" />
                    			</div>
                    			<div class="col-sm-8 col-sm-offset-3 btn btn-lg btn-danger btn_fingerprint" data-step="1">录入指纹</div>
                    		</div>
                    		<div class="col-sm-4">
                    			<div class="col-sm-8 col-sm-offset-3" style="height: 150px;background-color: oldlace;">
                    				<img id="finger_image2" style="height: 150px;width: 100%;" src="/data/finger/a8.jpg" />
                    			</div>
                    			<div class="col-sm-8 col-sm-offset-3 btn btn-lg btn-danger btn_fingerprint" data-step="2">确认指纹</div>
                    		</div>
                    </div>
                    
                    <div class="form-group" id="face_div">
	                    	<div class="col-sm-7 col-sm-offset-3" id="is_bind_face"  data-key="{$is_bind_face}" >
	                    			<div class="alert alert-dismissable alert-danger" >
	                    				<strong>1.您已经录入的人脸模板，再次录入模板 提交后 将会覆盖之前的模板</strong>
	                    				<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
	                    			</div>
	                    	</div>
                    		<div class="col-sm-4">
                    			<div  class="col-sm-8 col-sm-offset-3" style="height: 150px;background-color:oldlace">
                    				{if condition="$is_bind_face eq 1"}
	                    				<img id="face_image1" style="height: 150px;width: 100%;" src="{$facecode.icon1}" />
                    					{else /}
                    					<img id="face_image1" style="height: 150px;width: 100%;" src="/data/finger/a8.jpg" />
                    				{/if}
                    					
                    			</div>
                    			
                    		</div>
                    		<div class="col-sm-4">
                    			<div class="col-sm-8 col-sm-offset-3" style="height: 150px;background-color: oldlace;">
                    				{if condition="$is_bind_face eq 1"}
	                    				<img id="face_image2" style="height: 150px;width: 100%;" src="{$facecode.icon2}" />
                    					{else /}
                    					<img id="face_image2" style="height: 150px;width: 100%;" src="/data/finger/a8.jpg" />
                    				{/if}                    				  
                    			</div>
                    			
                    		</div>
                    		<div class="col-sm-4">
                    			<div class="col-sm-8 col-sm-offset-1" style="height: 150px;background-color: oldlace;">
                    				{if condition="$is_bind_face eq 1"}
	                    				<img id="face_image3" style="height: 150px;width: 100%;" src="{$facecode.icon3}" />
                    					{else /}
                    					<img id="face_image3" style="height: 150px;width: 100%;" src="/data/finger/a8.jpg" />
                    				{/if}
                    			</div>
                   		 </div>
                    </div>
                     <div class="form-group col-sm-6">
                    		<label class="col-sm-3 control-label" >会员姓名:</label>
                    		<div class="col-sm-6">
                    			<input type="text" id="name" value="{$model.name}"  name="name" required class="form-control">
                    		</div>
                    	</div>
                    <div class="form-group col-sm-6">
                    		<label class="col-sm-3 control-label" >会员手机号:</label>
                    		<div class="col-sm-6">
                    			<input type="text" id="mobile" value="{$model.mobile}" name="mobile" required="required" data-minlength="11" data-maxlength="11" class="form-control">
                    		</div>
                    </div>	
                   
                   
					<div class="form-group col-sm-6">
                    		<label class="col-sm-3 control-label" >卡类型:</label>
                    		<div class="col-sm-6">
                    			<select class="form-control" id="membership_type" name="membership_type">
                    				<option value="1"  {eq name="model.membership_type" value="1"}selected{/eq} >次卡</option>
                    				<option value="2" {eq name="model.membership_type" value="2"}selected{/eq} >年月卡</option>
                    			</select>
                    		</div>
                     </div> 
                      <div class="form-group col-sm-6">
                    		<label class="col-sm-3 control-label" >合同状态:</label>
                    		<div class="col-sm-6">
                    			<select class="form-control" name="contract_status" id="contract_status">
                    				<option value="1"  {eq name="model.contract_status" value="1"}selected{/eq} >有效</option>
                    				<option value="2" {eq name="model.contract_status" value="2" }selected{/eq}>无效</option>
                    			</select>
                    		</div>
                     </div>                     
                   
                     <div class="form-group col-sm-6">
                    		<label class="col-sm-2 control-label" >有效期:</label>
                    			<div class="col-sm-8">
					                    <div class="input-daterange input-group" id="datepicker3">
					                        <input type="text" class="form-control" required="required" name="start_date" id="start_date" value="{$model.start_date}" />
					                        <span class="input-group-addon">到</span>
					                        <input type="text" class="form-control" required="required" name="end_date" id="end_date" value="{$model.end_date}" />
					                    </div>
					           </div>
                     </div>
                     
                      <div class="form-group col-sm-6">
                    		<label class="col-sm-3 control-label" >剩余次数:</label>
                    		<div class="col-sm-6">
                    			<input type="text" required  id="surplus_num" data-number="true" data-min="0" name="surplus_num" value="{$model.surplus_num}"  class="form-control">
                    		</div>
                     </div>
                     
                    <input type="hidden" id="id" name="id" value="{$model.id}"/>
                    <input type="hidden" id="fingerprint"  name="fingerprint" value="{$model.fingerprint}" />
                    <input type="hidden" id="face1" name="face1" value="{$facecode.face1}" />
                    <input type="hidden" id="face2" name="face2" value="{$facecode.face2}" />
                    <input type="hidden" id="face3" name="face3" value="{$facecode.face3}"/>
                    <input type="hidden" id="icon1" name="icon1" value="{$facecode.icon1}"/>
                    <input type="hidden" id="icon2" name="icon2" value="{$facecode.icon2}"/>
                    <input type="hidden" id="icon3" name="icon3" value="{$facecode.icon3}"/>
                    
                </form>
            </div>
        </div>
    </div>
</div>
<script type='text/javascript' src='{$Think.ADMIN_VIEW_JS}member/edit_offline.js'></script>